From 7064410ec90ca33dc2e57f1c08defd1e7c08f2d5 Mon Sep 17 00:00:00 2001 From: tsteven4 Date: Thu, 18 Sep 2014 18:26:40 +0000 Subject: [PATCH] a few more replacements of CSTR/CSTRc with qPrintable. --- gpsbabel/gdb.cc | 2 +- gpsbabel/mmo.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/gdb.cc b/gpsbabel/gdb.cc index c301a8900..929de7112 100644 --- a/gpsbabel/gdb.cc +++ b/gpsbabel/gdb.cc @@ -688,7 +688,7 @@ read_waypoint(gt_waypt_classes_e* waypt_class_out) #if GDB_DEBUG DBG(GDB_DBG_WPTe, 1) printf(MYNAME "-wpt \"%s\" (%d): url(%d) = %s\n", - sn, wpt_class, url_ct - i, CSTR(str)); + sn, wpt_class, url_ct - i, qPrintable(str)); #endif } } diff --git a/gpsbabel/mmo.cc b/gpsbabel/mmo.cc index f57ccf3e7..4beb77aac 100644 --- a/gpsbabel/mmo.cc +++ b/gpsbabel/mmo.cc @@ -540,7 +540,7 @@ mmo_read_CObjWaypoint(mmo_data_t* data) if (i != -1) { if (icons.contains(i)) { wpt->icon_descr = icons.value(i); - DBG((sobj, "icon = \"%s\"\n", CSTR(wpt->icon_descr))); + DBG((sobj, "icon = \"%s\"\n", qPrintable(wpt->icon_descr))); } #ifdef MMO_DBG else { -- 2.30.2